using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace ebc.viz.modelbuilder.tests
{
    [TestFixture]
    public class test_Collect_board_definitions_from_project
    {
        [Test]
        public void Extract_board_filenames()
        {
            var filenames = Collect_board_definitions_from_project.Extract_board_filenames(@"..\..\..\SampleProjectWithBoards\SampleProjectWithBoards.csproj").ToArray();
            Assert.That(filenames, Is.EquivalentTo(new[]{"mainboard.ebc.xml", @"sub\subboard.ebc.xml"}));
        }
    }
}